<template>
  <div class="main">
    <div class="choose-subject">
      <p>欢迎您，张老师</p>
      <p>请选择您要批改的科目</p>
      <section class="selection">
        <span>请选择批阅试卷省份</span>
          <el-select
            v-model="value"
            placeholder="请选择"
            class="optional"
            size="medium"
            multiple
          >
            <el-option
              v-for="item in options"
              :key="item.value"
              :label="item.label"
              :value="item.value"
            >
            </el-option>
          </el-select>
      </section>
      <ul class="type-list">
        <li><router-link :to="{ name: 'user', params: { userId: 123 }}">素描</router-link></li>
        <li><router-link :to="{ name: 'user', params: { userId: 123 }}">速写</router-link></li>
        <li><router-link :to="{ name: 'user', params: { userId: 123 }}">色彩</router-link></li>
        <li><router-link :to="{ name: 'user', params: { userId: 123 }}">设计</router-link></li>
      </ul>
    </div>
  </div> 
</template>

<script>
// import HelloWorld from './components/HelloWorld.vue'

export default {
  name: 'App',
  components: {
    // HelloWorld
  },

  data() {
    return {
      options: [{
        value: '选项1',
        label: '黄金糕'
      }, {
        value: '选项2',
        label: '双皮奶'
      }, {
        value: '选项3',
        label: '蚵仔煎'
      }, {
        value: '选项4',
        label: '龙须面'
      }, {
        value: '选项5',
        label: '北京烤鸭'
      },{
        value: '选项6',
        label: '黄金糕'
      }, {
        value: '选项7',
        label: '双皮奶'
      }, {
        value: '选项8',
        label: '蚵仔煎'
      }, {
        value: '选项9',
        label: '龙须面'
      }, {
        value: '选项10',
        label: '北京烤鸭'
      }],
      value: ''
    }
  }
}
</script>

<style>
  .choose-subject {
    position: fixed;
    top: 50%;
    left: 50%;
    margin-top: -242px;
    margin-left: -437px;
    padding: 0 70px;
    width: 874px;
    height: 484px;
    background: lightgreen;
    border-radius: 20px;
    box-sizing: border-box;
  }
  p {
    padding: 0;
    font-size: 50px;
    font-weight: bold;
    color: #0F1734;
    line-height: 67px;
    text-align: left;
  }
  .selection > span {
    font-size: 25px;
    font-weight: 800;
    color: #0E0E0E;
    line-height: 24px;
  }
  .selection {
    width: 733px;
  }
  .selection > span {
    float: left;
    margin-right: 40px;
    line-height: 50px;
  }
  .optional {
    width: 468px;
    /*height: 50px;*/
  }
  .optional .el-input__inner {
    /*height: 50px;*/
  }
  .type-list {
    padding: 0;
    overflow: hidden;
    font-size: 25px;
    color: #fff;
  }
  .type-list li {
    float: left;
    margin-right: 42px;
    width: 152px;
    height: 89px;
    line-height: 89px;
    border-radius: 10px;
    cursor: pointer;
  }
  .type-list li a {
    color: #fff;
    text-decoration: none;
  }
  .type-list li:nth-child(1) {
    background: #59BF99;
  }
  .type-list li:nth-child(2) {
    background: #557DFF;
  }
  .type-list li:nth-child(3) {
    background: #DE5887;
  }
  .type-list li:nth-child(4) {
    margin-right: 0;
    background: #FFAC59;
  } 
</style>
